package com.yc.backstage.service;

import com.yc.backstage.entity.SysPost;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @Classname SysPostController
* @Description
* @Version 1.0.0
* @Date 2022-08-23 11:49:19
* @Created by Mikechen
*/
public interface SysPostService extends IService<SysPost> {

    /**
     * 查询所有岗位
     * @return
     */
    List<SysPost> selectPostAll();

    /**
     * 根据用户id查询用户的岗位信息
     * @param userId
     * @return
     */
    List<Long> selectPostIdsByUserId(Long userId);
}
